package com.mmy.fta.usercenter.repository;

import com.mmy.fta.usercenter.entity.DriverInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface DriverInfoEntityMapper {
    int insert(DriverInfoEntity record);

    int insertSelective(DriverInfoEntity record);

    DriverInfoEntity selectByPrimaryKey(Long id);

    DriverInfoEntity selectByIdentityNo(String identityNo);

    int updateByPrimaryKeySelective(DriverInfoEntity record);

    int updateByPrimaryKey(DriverInfoEntity record);

    int updateNormalMemberShipStatus(@Param("openId")String openId, @Param("times")int times);

    void addShipperSendCargoTimes(String openId);
}